package main

import "fmt"

type Point struct {
	X, Y int
}

type Circle struct {
	//Center Point
	Point
	Radius int
}

type Wheel struct {
	//Circle Circle
	Circle
	Spokes int
}

func main() {
	//var wheel Wheel
	//w := Wheel{Circle{Point{X: 8, Y: 8}, 5}, 20}
	w := Wheel{
		Circle: Circle{
			Point: Point{
				X: 8,
				Y: 8,
			},
			Radius: 5,
		},
		Spokes: 20,
	}
	// %#v 输出时包含成员
	fmt.Printf("%#v\n", w)
}
